package com.xindaoapp.happypet.protocol;

import java.io.File;

import com.xindaoapp.happypet.protocol.CustomMultipartEntity.ProgressListener;

/**
 * 发帖
 * 
 * @author chenghao
 * 
 */
public interface IPost {
    
//    public void post(String url, List<File> files);
    
    /**
     * 上传图片文件
     * 
     * @param url
     * @param imageFile
     * @param progressListener
     */
    public void post(String url, File imageFile, ProgressListener progressListener);

    /**
     * 上传视频文件
     * 
     * @param url
     * @param videoFile
     * @param coverFile
     * @param progressListener
     */
    public void post(String url, File videoFile, File coverFile, ProgressListener progressListener);

    /**
     * 发帖，正文贴
     * @param url
     * @param uid
     * @param fid
     * @param title
     * @param content
     * @param aidList
     * @param videoAidList
     */
    public void post(String url, String uid, String fid, String title, String content,
            String aidList, String videoAidList);
}
